package com.baitai.system.domain;

import java.util.List;

import com.baitai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.baitai.common.annotation.Excel;

/**
 * 商品详情对象 product_info
 * 
 * @author xx
 * @date 2024-07-17
 */
public class ProductInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String productName;

    /** 商品金额 */
    @Excel(name = "商品金额")
    private String productAmount;

    /** 商品类型 */
    @Excel(name = "商品类型")
    private String productType;

    /** 商品类型 */
    @Excel(name = "出售类型")
    private String conversionType;

    /** 是否生效 */
    @Excel(name = "是否生效")
    private String isEfficient;

    /** 商品积分 */
    @Excel(name = "商品积分")
    private String productPoints;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private String productQuantity;

    /** 商品描述 */
    @Excel(name = "商品描述")
    private String productRemark;
    @Excel(name = "好评率")
    private String favorableRate;

    /** 类别归属 */
    @Excel(name = "类别归属")
    private String productCategory;
    /** 商品图片信息 */
    private List<ProductFile> productFileList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductAmount(String productAmount) 
    {
        this.productAmount = productAmount;
    }

    public String getProductAmount() 
    {
        return productAmount;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setProductPoints(String productPoints) 
    {
        this.productPoints = productPoints;
    }

    public String getProductPoints() 
    {
        return productPoints;
    }
    public void setProductQuantity(String productQuantity) 
    {
        this.productQuantity = productQuantity;
    }

    public String getProductQuantity() 
    {
        return productQuantity;
    }
    public void setProductRemark(String productRemark) 
    {
        this.productRemark = productRemark;
    }

    public String getProductRemark() 
    {
        return productRemark;
    }

    public List<ProductFile> getProductFileList()
    {
        return productFileList;
    }

    public void setProductFileList(List<ProductFile> productFileList)
    {
        this.productFileList = productFileList;
    }

    public String getIsEfficient() {
        return isEfficient;
    }

    public void setIsEfficient(String isEfficient) {
        this.isEfficient = isEfficient;
    }

    public String getConversionType() {
        return conversionType;
    }

    public void setConversionType(String conversionType) {
        this.conversionType = conversionType;
    }

    public String getFavorableRate() {
        return favorableRate;
    }

    public void setFavorableRate(String favorableRate) {
        this.favorableRate = favorableRate;
    }

    public void setProductCategory(String productCategory)
    {
        this.productCategory = productCategory;
    }

    public String getProductCategory()
    {
        return productCategory;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("productName", getProductName())
                .append("productAmount", getProductAmount())
                .append("productType", getProductType())
                .append("conversionType", getConversionType())
                .append("isEfficient", getIsEfficient())
                .append("productPoints", getProductPoints())
                .append("productQuantity", getProductQuantity())
                .append("productRemark", getProductRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("productCategory", getProductCategory())
                .append("productFileList", getProductFileList())
                .toString();
    }
}
